type LoginStateType = "LOGIN" | "FORGET_PSD";

const useLoginState = () => {
	const current = ref<LoginStateType>("LOGIN");

	const setCurrent = (val: LoginStateType) => {
		current.value = val;
	};

	return {
		setCurrent,
		current,
	};
};

export default useLoginState;
